﻿Imports DTO
Imports DAO

Public Class CBoPhanBUS
    Public Function LoadDanhSachBoPhan() As List(Of CBoPhanDTO)
        Return New CBoPhanDAO().LoadDanhSachBoPhan()
    End Function


    Public Function ThemBoPhan(ByVal tenbophan As String) As Integer
        Return New CBoPhanDAO().ThemBoPhan(tenbophan)
    End Function


    Public Function CapNhatBoPhan(ByVal bophan As CBoPhanDTO) As Integer
        Return New CBoPhanDAO().CapNhatBoPhan(bophan)
    End Function

    Public Function LayTenBoPhanTheoMa(ByVal ma As Integer) As String
        Return New CBoPhanDAO().LayTenBoPhanTheoMa(ma)
    End Function


End Class


